package com.zpark.wxshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author PJone
 * @since 2023-09-04
 */
@Getter
@Setter
@TableName("t_review")
public class Review implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论数据id
     */
    @TableId(value = "rid", type = IdType.AUTO)
    private Integer rid;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 商品id
     */
    private Integer pid;

    /**
     * 评论用户名字
     */
    private String username;

    /**
     * 评论内容
     */
    private String review;

    /**
     * 创建人
     */
    private String createdUser;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 用户邮箱
     */
    private String email;

    /**
     * 评论昵称
     */
    private String name;


}
